<template>

  <div>
    <el-input v-model="sql" type="textarea"></el-input>
  </div>


</template>
<script>
export default {

  props:['content'],

  mounted(){
    this.sql = this.content;
  },

  watch:{

    content(newVal){
      this.sql = newVal;
    }

  },

  data(){
    return {
      sql:''
    }
  }

}
</script>
